//
//  MyCarSQLHelp.h
//  SecondPage
//
//  Created by xiong qi on 13-5-7.
//  Copyright (c) 2013年 winston. All rights reserved.
//

#import <Foundation/Foundation.h>

#define CarInfo_FileName        @"FileName"
#define CarInfo_CarName         @"CarName"
#define CarInfo_Title           @"Title"
#define CarInfo_Size            @"Size"
#define CarInfo_wheelbase       @"Wheelbase"
#define CarInfo_DriveType       @"DriveType"
#define CarInfo_Fuel            @"Fuel"
#define CarInfo_Displacement    @"Displacement"
#define CarInfo_Power           @"Power"
#define CarInfo_Transmission    @"Transmission"
#define CarInfo_Tire            @"Tire"
#define CarInfo_ColorCode       @"ColorCode"
#define CarInfo_IsNotHonda      @"isnotHonda"

@class FMDatabase;
@class FMResultSet;

@interface MyCarSQLHelp : NSObject{
    @private
	FMDatabase*		db;
	NSThread*		dbMoniter;
	BOOL			threadFlag;
}


+(MyCarSQLHelp*)getInstance;
-(void)SetDataBasePath:(NSString *)dbPath;

-(NSArray *)GetTableData:(NSString *)selectString;

-(void)closeDatabase;
@end
